package net.csdn.business.common.domain.issue;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * issue 操作事件 文本说明
 * 序列化存储使用的ordinal方式，不能修改枚举的顺序
 *
 * @author likun
 * @date 2022/11/24 15:03
 */
@Getter
@AllArgsConstructor
public enum IssueActionTextEnum {
    /**
     * 变更文本 EN 预留多语言版本
     */
    RE_OPEN("重新打开了当前Issue", ""),
    FINISH_CLOSE("完成并关闭了当前Issue", ""),
    SKIP_CLOSE("跳过并关闭当前Issue", ""),
    MR_CLOSE("关联MR关闭当前Issue", ""),

    PIN("置顶了当前Issue", ""),
    UN_PIN("取消置顶了当前Issue", ""),

    LOCK("锁定了当前Issue", ""),
    UN_LOCK("解锁了当前Issue", ""),

    UPDATE_TITLE("修改了当前Issue的标题", ""),

    MOVE("转移了当前Issue", ""),

    ASSIGN_USER("指定负责人", ""),
    ADD_LABEL("添加了Label", ""),
    DEL_LABEL("移除了Label", ""),
    ADD_MILEPOST("修改了里程碑", ""),
    DEL_MILEPOST("移除了里程碑", ""),
    CLEAR_ASSIGN_USER("清除负责人", ""),
    SET_PRIORITY("将优先级设置为",""),
    ;
    private final String zh;
    private final String en;
}